package core;

/**
 * Provides a Singleton point-of-access for commands to get access
 * to a GameParticipant.  GameParticipants register themselves with 
 * this registry.
 */
public class GameParticipantRegistry 
{
	public static GameParticipant get() {
		return cache.get();
	}

	public static void put(GameParticipant p) {
		cache.put(p);
	}
	
	public static void remove() {
		cache.remove();
	}

	private static util.Cache<GameParticipant> cache = new util.Cache<GameParticipant>();
}
